class RemoveShippingMethods < ActiveRecord::Migration
  def self.up
    drop_table    :shipping_methods
    remove_column :orders, :shipping_method_id
  end

  def self.down
    add_column    :orders, :shipping_method_id, :integer
    create_table  :shipping_methods do |t|
      t.string      :name
      t.float       :cost 
      t.timestamps
    end
  end
end
